package com.gxa.saas.service;


import com.gxa.saas.pojo.BrandFirst;

import java.util.List;
import java.util.Map;


/**
 * @author CZJ
 * @date 2022/6/7 15:19
 */
public interface BrandService {
    /**
     * 分页查询
     * @param limit
     * @param size
     * @return
     */
    List<Map<String, Object>> selectByPage(Integer limit, Integer size);

    Integer insert(BrandFirst brand);

    List<BrandFirst> selectLike(String name,Integer page,Integer size);

    Integer update(BrandFirst brandFirst);

    Integer delete(Integer id);

    List<BrandFirst> selectAll();

    BrandFirst selectByName(String name);

    List<BrandFirst> selectBySort(Boolean boo);
}
